#include "fwDefine.h"

#include "Platform\fwPlatformFactory.h"
#include "Platform\fwWindowsOpenGLES.h"
#include "Game\fwStateManager.h"

void CallBackStartDevice(const FWobject, FWobject extra)
{
	PlatformFactory::GetInstance()->GetCurrentPlatform()->InternalRun(extra);
}

void CallBackEndDevice(const FWobject, FWobject)
{
	PlatformFactory::GetInstance()->GetCurrentPlatform()->Exit();
}

void CallBackInternalSwitch(const FWobject, FWobject)
{
	StateManager::GetInstance()->InternalSwitch();
}